package com.lg.service;

import org.springframework.stereotype.Component;

@Component
public class Aservice {

	private Bservice bservice;
	
	public Aservice(Bservice bservice) {
		this.bservice = bservice;
	}
	
	public void test() {
		bservice.test1();
	}
	
	public void test1() {
		System.out.println("Aservice输出：" + bservice);
	}
	
}
